import { sql2apiAction , postAction, sqlCall2apiAction} from '@/api/manage'

// 首页-待办待阅
const doreadList = params => sql2apiAction('2c3a071b8d67baae018ec1b6a528005d', params)
// 来源系统
const sourceList = params => sql2apiAction('2c3a071b8d67baae018fa49c93c7006f', params)
// 待办分类
const classityList = params => sql2apiAction('2c3a071b8d67baae018fa49fc1520070', params)
// 待办工单详情-促销任务工单
const promotionTasks = params => sql2apiAction('2c3a071b8d67baae018ec1ca85ae005e', params)
// 待办工单详情-促销执行工单
const promotionExecution = params => sql2apiAction('2c3a071b8d67baae018ec1cf82b9005f', params)
// 待办工单详情-退单审核工单
const refundReview = params => sqlCall2apiAction('2c3a071b8d67baae018ec1d0baf00060', params)
// 待办工单详情-退单审核工单
const refundApprove = params => sqlCall2apiAction('2c3ae8af92b814000194fe3641ea0003', params)
// 待办工单详情-标准地址工单
const bzdzForm = params => sql2apiAction('2c3ae8ab90481d740190481d74c10000', params)
// 待办工单详情-别名地址工单
const bmdzForm = params => sql2apiAction('2c3ae8ab90481d7401904823e1d00001', params)
// 审核
const submitUrl = params => postAction('api/order/pendingSubmit', params)
//人员绑定详情
const rybdDetailUrl = params => sqlCall2apiAction('2c3ae8af92b814000197390001bd0009', params)
//人员绑定列表
const rybdDetailList = params => sqlCall2apiAction('2c3ae8af92b8140001973539fb0a0008', params)
//超时、待办、已办数量
const csYbYbNum = params => sqlCall2apiAction('2c3ae8b298361e1f0198bc1a61ea0004', params)

export {
    doreadList,
    sourceList,
    classityList,
    promotionTasks,
    promotionExecution,
    refundReview,
    submitUrl,
    bzdzForm,
    bmdzForm,
    refundApprove,
    rybdDetailUrl,
    rybdDetailList,
    csYbYbNum
}